<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, 
    initial-scale=1.0,    
    height=device-height,
    minimum-scale=1.0,
    maximum-scale=1.0
    user-scalable=no">
    <title>写一个字</title>
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <link href="handwriting.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <div id="main" >
        <canvas id="canvas">
        </canvas>
        <div id="controller">
            <div>
                <button class="color_btn color_btn_selecter" id="black_btn"></button>
                <button class="color_btn" id="red_btn"></button>
                <button class="color_btn" id="yellow_btn"></button>
                <button class="color_btn" id="green_btn"></button>
                <button class="color_btn" id="blue_btn"></button>
                <button class="color_btn" id="purple_btn"></button>
            </div>

            <div>
                <button class="op_btn" id="clear">清除</button>
            </div>
       
        </div>

    </div>
    <script src="handwriting.js"></script>
</body>

</html>